Automattic\WCShipping\Packages\Package S

Total Complexity 38
Dependencies 2
Dependents 1
Total lines 256
Lines of code 138
Logical lines of code 59
Comment lines 79
Methods 12
Properties 10

Methods 12

Method Rating Maintainability Complexity Lines of code
validate_from_array_input()
A
53 10 20
map_wcst_keys_to_wcshipping_keys()
A
55 10 19
validate()
S
59 6 14
set_or_generate_id()
S
68 3 7
__get()
S
70 2 6
to_api_array()
S
60 1 14
from_array()
S
62 1 12
to_array()
S
63 1 11
to_wcst_array()
S
63 1 11
__construct()
S
64 1 10
dimensions_to_length_width_height()
S
66 1 8
set_length_width_height_from_dimensions()
S
70 1 6